package com.registration.bean;


import java.util.Date;

public class ReportBean {
    //检查报告
    private Integer report_id;//报告 ID（自增）
    private Integer   user_id;//用户 ID（外键关联 user 表）
    private Integer   patient_id;//就诊人 ID（外键关联 patient 表）
    private Integer   order_id;//关联订单 ID（外键关联 registration_order 表，可选）
    private String   name;//报告名称（如：血常规检查报告）
    private String  type;//报告类型（检查、检验、体检等）
    private Date check_time;//检查时间
    private Date   report_time;//报告生成时间
    private String   content;//报告内容（文字描述）
    private String    report_url;//报告图片 URL（可多个，用逗号分隔）
    private Integer  status;//状态（0 - 未完成，1 - 已完成）
    private Date   create_time;//记录创建时间
    private Date  update_time;//记录更新时间


    //登录用户以及就诊人
    private String username;
    private String patient_name;
    private PatientBean patientBean;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPatient_name() {
        return patient_name;
    }

    public void setPatient_name(String patient_name) {
        this.patient_name = patient_name;
    }

    public PatientBean getPatientBean() {
        return patientBean;
    }

    public void setPatientBean(PatientBean patientBean) {
        this.patientBean = patientBean;
    }

    @Override
    public String toString() {
        return "ReportBean{" +
                "report_id=" + report_id +
                ", user_id=" + user_id +
                ", patient_id=" + patient_id +
                ", order_id=" + order_id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", check_time=" + check_time +
                ", report_time=" + report_time +
                ", content='" + content + '\'' +
                ", report_url='" + report_url + '\'' +
                ", status=" + status +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }

    public Integer getReport_id() {
        return report_id;
    }

    public void setReport_id(Integer report_id) {
        this.report_id = report_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(Integer patient_id) {
        this.patient_id = patient_id;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCheck_time() {
        return check_time;
    }

    public void setCheck_time(Date check_time) {
        this.check_time = check_time;
    }

    public Date getReport_time() {
        return report_time;
    }

    public void setReport_time(Date report_time) {
        this.report_time = report_time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReport_url() {
        return report_url;
    }

    public void setReport_url(String report_url) {
        this.report_url = report_url;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
